using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class LoadCampaignGame : MonoBehaviour
{
	public Text dayTextView;

	public GameObject dayCanvasGameObject;

	private void Start()
	{
		dayTextView.text = "Day " + DO.Campaign.day;
		StartCoroutine(LoadAsyncScene());
	}

	private void Update()
	{
	}

	private IEnumerator LoadAsyncScene()
	{
		AsyncOperation asyncLoad = SceneManager.LoadSceneAsync("CampaignGame");
		while (!asyncLoad.isDone)
		{
			yield return null;
		}
	}
}
